package com.example.qjia.ui.fragment;

import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Switch;
import android.widget.TextView;

import com.example.qjia.R;
import com.example.qjia.basic.BaseFragment;


public class SettingFragment extends BaseFragment {


    private Switch notifySwitch;
    private Switch soundSwitch;
    private Switch shakeSwitch;
    public SettingFragment() {

    }

    public static SettingFragment newInstance() {
        SettingFragment fragment = new SettingFragment();
        return fragment;
    }

    @Override
    public void init(View view) {
        notifySwitch=(Switch)view.findViewById(R.id.notify_show_setting);
        soundSwitch=(Switch)view.findViewById(R.id.sound_setting);
        shakeSwitch=(Switch)view.findViewById(R.id.shake_setting);




    }

    @Override
    public int getResourceId() {
        return R.layout.fragment_setting;
    }

    /*@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        view=inflater.inflate(R.layout.fragment_setting, container, false);
        return view;
    }*/


}
